home *** CD-ROM | disk | FTP | other *** search
/ NBC Slam Jams! / NBC Slam Jams!.iso / nbademo.exe / CABFILE / IDR_CABFILE / Data / 2DScript / POPUP.UI < prev    next >
Text File  |  1999-06-14  |  4KB  |  219 lines

  1. "2D\Overlays\Popup"
  2.  
  3. //********************
  4. //  Data Container
  5. //********************
  6. DataContainer {
  7.     String "PopupInfo1" {
  8.         EditBox "PopupInfo1";
  9.     };
  10.     String "PopupInfo2" {
  11.         EditBox "PopupInfo2";
  12.     };
  13.     String "PopupInfo3" {
  14.         EditBox "PopupInfo3";
  15.     };
  16.     String "PopupTitle" {
  17.         EditBox "PopupTitle";
  18.     };
  19.     Int "PopupRefImage" {
  20.         ImageSpinner "PopupRef";
  21.     };
  22. };
  23.  
  24. //********************
  25. //  Images
  26. //********************
  27. Image "PopupFrame" {
  28.     Filename "Refbox";
  29. };
  30. Image "Charging" {
  31.     Filename "DummyOffCharg";
  32. };
  33. Image "Blocking" {
  34.     Filename "DummyBlocking";
  35. };
  36. Image "CircleBlocking" {
  37.     Filename "DummyBlocking";
  38. };
  39. Image "ReachIn" {
  40.     Filename "DummyDefault";
  41. };
  42. Image "Shooting" {
  43.     Filename "DummyDefault";
  44. };
  45. Image "LooseBall" {
  46.     Filename "DummyLoose";
  47. };
  48. Image "Pushing" {
  49.     Filename "DummyPushing";
  50. };
  51. Image "MovingScreen" {
  52.     Filename "DummyPushing";
  53. };
  54. Image "OffBall" {
  55.     Filename "DummyDefault";
  56. };
  57. Image "Flagrant" {
  58.     Filename "DummyFlagrant";
  59. };
  60. Image "IllegalDefense" {
  61.     Filename "DummyIllDef";
  62. };
  63. Image "Goaltending" {
  64.     Filename "Dummygoal";
  65. };
  66. Image "3seconds" {
  67.     Filename "Dummy3sec";
  68. };
  69. Image "5seconds" {
  70.     Filename "DummyDefault";
  71. };
  72. Image "10seconds" {
  73.     Filename "DummyDefault";
  74. };
  75. Image "24seconds" {
  76.     Filename "Dummy24sec";
  77. };
  78. Image "Backcourt" {
  79.     Filename "DummyDefault";
  80. };
  81. Image "OutOfBounds" {
  82.     Filename "Dummyoofb";
  83. };
  84. Image "Travelling" {
  85.     Filename "DummyTravel";
  86. };
  87. Image "FreeThrow" {
  88.     Filename "DummyFreeThrow";
  89. };
  90. Image "TimeoutFull" {
  91.     Filename "DummyTO";
  92. };
  93. Image "Timeout20" {
  94.     Filename "Dummy20secTO";
  95. };
  96.  
  97. //********************
  98. //  Fonts
  99. //********************
  100. Font "PopupFont" {
  101.     Filename "Boxtxt";
  102.     Translate "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" ",:0123456789";
  103.     Kerning 1;
  104. };
  105. Font "PopupTitleFont" {
  106.     Filename "TitleFnt";
  107.     Translate "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
  108.     Kerning 0;
  109. };
  110.  
  111.  
  112. //********************
  113. //  Styles
  114. //********************
  115. Style "PopupStyle" {
  116.     Image "PopupFrame";
  117. };
  118. Style "PopupInfoStyle" {
  119.     Font "PopupFont";
  120. };
  121. Style "PopupTitleStyle" {
  122.     Font "PopupTitleFont";
  123. };
  124. Style "PopupRef" {
  125.     Image "ReachIn";
  126.     Image "Charging";
  127.     Image "Blocking";
  128.     Image "CircleBlocking";
  129.     Image "ReachIn";
  130.     Image "Shooting";
  131.     Image "LooseBall";
  132.     Image "MovingScreen";
  133.     Image "OffBall";
  134.     Image "Pushing";
  135.     Image "Pushing";
  136.     Image "Flagrant";
  137.     Image "IllegalDefense";
  138.     Image "Goaltending";
  139.     Image "3seconds";
  140.     Image "5seconds";
  141.     Image "10seconds";
  142.     Image "24seconds";
  143.     Image "Backcourt";
  144.     Image "OutOfBounds";
  145.     Image "Travelling";
  146.     Image "FreeThrow";
  147.     Image "TimeoutFull";
  148.     Image "Timeout20";
  149. };
  150.  
  151. //********************
  152. //  Edit Boxes
  153. //********************
  154. EditBox "PopupInfo1" {
  155.     Style "PopupInfoStyle";
  156.     Position [-18, 22];
  157.     Size [193, 22];
  158.     
  159.     String "" {
  160.         Justify CenterCenter;
  161.         Position [96, 11];
  162.     };
  163.  
  164.     
  165. };
  166. EditBox "PopupInfo2" {
  167.     Style "PopupInfoStyle";
  168.     Position [-18, 37];
  169.     Size [193, 22];
  170.     
  171.     String "" {
  172.         Justify CenterCenter;
  173.         Position [96, 11];
  174.     };
  175.  
  176.     
  177. };
  178. EditBox "PopupInfo3" {
  179.     Style "PopupInfoStyle";
  180.     Position [-18, 52];
  181.     Size [193, 22];
  182.         
  183.     String "" {
  184.         Justify CenterCenter;
  185.         Position [96, 11];
  186.     };
  187.     
  188. };
  189. EditBox "PopupTitle" {
  190.     Style "PopupTitleStyle";
  191.     Position [99, 2];
  192.     Size [86, 14];
  193. };
  194.  
  195.  
  196. ImageSpinner "PopupRef" {
  197.     Style "PopupRef";
  198.     Position [204, 228];
  199. };
  200.  
  201.  
  202. //********************
  203. //  Groups
  204. //********************
  205. Group "Popup" {
  206.     Root;
  207.     BottomLeft Position [0, -70];
  208.     Children {
  209.         ImageSpinner "PopupRef";
  210.         Group "PopupBack";
  211.         EditBox "PopupInfo1";
  212.         EditBox "PopupInfo2";
  213.         EditBox "PopupInfo3";
  214.         EditBox "PopupTitle";
  215.     };
  216. };
  217. Group "PopupBack" {
  218.     Style "PopupStyle";
  219. };